package com.stx.staticproxy;

public class Client {
    public static void main(String[] args) {
        // 定义一个玩家
        IGamePlayer player = new GamePlayer("张三");
        // 定义一个代练,代练玩家的号
        GamePlayerProxy proxy = new GamePlayerProxy(player);
        proxy.login("zhangsan", "123");
        proxy.killBoss();
        proxy.upgrade();
    }
}
